package is.sclab.datastore.entitygroup;

import com.google.appengine.api.datastore.Key;

public class Parent {

	private Key Key;
	private String Value;
	
	public static class Builder{
		
		Key Key;
		String Value;
		
		public Builder(Key Key){
			this.Key=Key;
		}
		
		public Builder Value(String Value){
			this.Value=Value;
			return this;
		}
		
		public Parent Build(){
			return new Parent(this);
		}
	}
	
	private Parent(Builder builder) {
		Key=builder.Key;
		Value=builder.Value;
	}
	
	public Key getKey() {
		return Key;
	}
	public void setKey(Key Key) {
		this.Key = Key;
	}
	public String getValue() {
		return Value;
	}
	public void setValue(String value) {
		Value = value;
	}
}
